<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class CarSerie extends Model
{
    protected $guarded = ['id'];

    public function models()
    {
    	return $this->hasMany(CarModel::class,'series_id');
    }

    public function brand()
    {
    	return $this->belongsTo(CarBrand::class,'brand_id');
    }
}
